FROM nginx
COPY ./dist /data

ADD nginx.conf /etc/nginx/conf.d/
RUN /bin/bash -c 'echo init ok'

#FROM node:10
#COPY ./dist /data
#WORKDIR /app
#RUN npm install && npm run build
#
#FROM nginx
#RUN mkdir /app
#COPY --from=0 /app/dist /app
#COPY nginx.conf /etc/nginx/nginx.conf
